package com.lengxf.design;

/**
 * 抽象状态类角色
 * By Lengxf
 */
public abstract class AccountState {

    protected Account acc;

    public abstract void deposit(double amount);

    public abstract void withdraw(double amount);

    public abstract void computeInterest();

    public abstract void stateCheck();


}
